// 添加一条
import { ADD_ITEM, PUSH_END, PUSH_PANDING, DELETE_ITEM,DELE_ITEM_END } from "../actionType";
export const addItemAction = value => ({ type: ADD_ITEM, value });
// 从正在进行中push到已完成
export const pandingPushEndAction = value => ({ type: PUSH_END, value });
//  从已完成列表里push到正在进行中
export const endPushEndAction = value => ({ type: PUSH_PANDING, value });
// 从正在进行中删出一条
export const deleteItemAction = value => ({ type: DELETE_ITEM, value });
// 从已完成中删除一条
export const deleItemendAction =value=>({type:DELE_ITEM_END,value})
